/*******************************************************************************
 * Copyright (c) 2011 EclipseDevX.org and others.
 * 
 * All rights reserved. This program and the accompanying materials are made
 * available under the terms of the Eclipse Public License v1.0 which
 * accompanies this distribution, and is available at:
 * 
 *     http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.eclipsedevx.appengine.usage;

import java.util.Calendar;
import java.util.Date;
import java.util.TimeZone;

public class DateUtils {
	
	private DateUtils() {
		
	}
	
	public static Calendar getNowCal() {
		Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("PST"));

		return cal;
	}

	public static Date getNowDate() {
		return getNowCal().getTime();
	}
	
}
